package com.ciaj.module.sys.service;

import com.ciaj.base.bean.BaseService;
import com.ciaj.module.sys.entity.po.SysUser;
import com.ciaj.module.sys.entity.vo.ShiroUser;

/**
 * <p>
 * 系统用户表 Gen 服务类
 * </p>
 *
 * @author ciaj.
 * @since 2020-08-14
 */
public interface ISysUserService extends BaseService<SysUser> {

    /***
     * @Author: ciaj.
     * @Description: 获取权限用户
     * @Date: 23:07 2020/8/8
     * @Param [id]
     * @return com.ciaj.sys.core.base.entity.vo.ShiroUser
     **/
    public ShiroUser getShiroUserById(String id);

    /***
     * @Author: ciaj.
     * @Description: 获取权限用户
     * @Date: 23:08 2020/8/8
     * @Param [account]
     * @return com.ciaj.sys.core.base.entity.vo.ShiroUser
     **/
    public ShiroUser getShiroUserByAccount(String account);

    /***
     * @Author: ciaj.
     * @Description: 获取权限用户
     * @Date: 23:08 2020/8/8
     * @Param [account]
     * @return com.ciaj.sys.core.base.entity.vo.ShiroUser
     **/
    public SysUser getSysUserByAccount(String account);

    /***
     * @Author: ciaj.
     * @Description: 切换岗位
     * @Date: 00:57 2020/8/9
     * @Param [jobId]
     * @return com.ciaj.sys.core.base.entity.vo.ShiroUser
     **/
    public ShiroUser shiroUserJobChange(String jobId);
}
